package LL1checker;

public class Term implements Comparable<Term> {
	protected String value;
	
	public Term(String newValue){
		value = newValue;
	}
	
	public String getValue(){
		return value;
	}

	public String toString(){
		return "Term: " + value;
	}
	
	@Override
	public int compareTo(Term arg0) {
		if (value.equals(arg0.getValue())){		
			return 0;
		} else {
			return 1;
		}
	}

}
